﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SlaughterItem.Common.Domains.UPCTable
{
    /// <summary>
    /// 商品分类
    /// </summary>
    public class UPCTypeData
    {
        /// <summary>
        /// 商品分类ID
        /// </summary>
        [Key]
        public int CommodityId {  get; set; }
        /// <summary>
        /// 商品分类名称
        /// </summary>
        public string CommodityName { get; set; } = string.Empty;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsCommodity {  get; set; }=false;
        /// <summary>
        /// 区别字段{1:活畜 2:(白条||销售) 3:分割后 4:膘油}
        /// </summary>
        public int Pid { get; set; } = 0;
    }
}
